package p270jp.pxv.android.viewholder;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import p270jp.pxv.android.R;
import p521th.FlexibleItemAdapterSolidItem;
import p521th.SolidItemViewHolder;

/* renamed from: jp.pxv.android.viewholder.HomeRecommendedLabelSolidItem */
/* loaded from: classes2.dex */
public class HomeRecommendedLabelSolidItem extends FlexibleItemAdapterSolidItem {

    /* renamed from: jp.pxv.android.viewholder.HomeRecommendedLabelSolidItem$HomeRecommendedLabelSolidItemViewHolder */
    /* loaded from: classes2.dex */
    public static class HomeRecommendedLabelSolidItemViewHolder extends SolidItemViewHolder {
        public HomeRecommendedLabelSolidItemViewHolder(View view) {
            super(view);
        }

        public static HomeRecommendedLabelSolidItemViewHolder createViewHolder(ViewGroup viewGroup) {
            return new HomeRecommendedLabelSolidItemViewHolder(LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.view_home_recommended, viewGroup, false));
        }

        @Override // p521th.SolidItemViewHolder
        public void onBindViewHolder(int i) {
        }
    }

    @Override // p521th.FlexibleItemAdapterSolidItem
    public int getSpanSize() {
        return 2;
    }

    @Override // p521th.FlexibleItemAdapterSolidItem
    public SolidItemViewHolder onCreateViewHolder(ViewGroup viewGroup) {
        return HomeRecommendedLabelSolidItemViewHolder.createViewHolder(viewGroup);
    }

    @Override // p521th.FlexibleItemAdapterSolidItem
    public boolean shouldBeInserted(int i, int i2, int i3, int i4) {
        return i == 0 && i3 == 0;
    }
}
